Esc
The escape key is used to:
If a drawing element is in progress, press Esc to cancel it. The tool will remain active.
If no element is in progress, Press Esc to cancel the tool.
Note: it isn't necessary to cancel a drawing tool. You can simply select a different tool.